package com.lin.controller.req;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class RangeReqMsg {

    @NotNull(message = "客户号不能为空")
    private Long customerId;

    /**
     * yyyy-MM-dd
     */
    @NotBlank(message = "生日不能为空")
    private String birthday;

    private String province;

    private String city;

    private String county;

    @NotNull(message = "经度不能为空")
    private Double longitude;

    @NotNull(message = "纬度不能为空")
    private Double latitude;

    @NotBlank(message = "性别不能为空")
    private String gender;

    private String appVersion;
}
